package com.msh.platform.elm.vo;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class PubNoDqVO {
    @ApiModelProperty(value="版位id",required=true)
    @NotNull(message = "版位id不能为空")
    private Integer specId;
    @ApiModelProperty(value="档期类型(每天传day，每周传week，每月传month)",required=true)
    @NotBlank(message = "档期类型不能为空")
    private String dqType;
    @ApiModelProperty(value="档期类型对应的档期值，多个值用逗号分隔，例如每周一、二、三就传1,2,3，每月一样，每天就传空",required=true)
    private String dq;
    @ApiModelProperty(value="档期特殊增加的日期，多个值用逗号分隔，格式如2018-12-14,2018-12-15,2018-12-17，没有就传空")
    private String addDay;
    @ApiModelProperty(value="档期特殊删除的日期，多个值用逗号分隔，格式如2018-12-14,2018-12-15,2018-12-17，没有就传空")
    private String delDay;
    @ApiModelProperty(value="单价",required=true)
    @NotNull(message = "单价不能为空")
    private BigDecimal price;
}
